﻿#ifndef UIREGISTER_H
#define UIREGISTER_H

#include <QWidget>
#include <QMessageBox>
#include <QJsonDocument>
#include <QJsonArray>
#include <QJsonValue>
#include <QJsonObject>
#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkReply>

#define TEST 1
namespace Ui {
class UiRegister;
}

class UiRegister : public QWidget
{
    Q_OBJECT

public:

    explicit UiRegister(QWidget *parent = nullptr);
    ~UiRegister();

    void init();

public slots:

    void onRegister();

    void onLogin();

    void onGoRegister();

    void onGoLogin();


private:
    Ui::UiRegister *ui;
};

#endif // UIREGISTER_H
